package com.juc.nonBlockingQueue.nonBblockingQueue3;

public class Thread3B extends Thread{

	private MyService3 service;
	
	public Thread3B(MyService3 service) {
		super();
		this.service = service;
	}
	@Override
	public void run() {
		for (int i = 0; i < 50000; i++) {
			service.map.put("ThreadB" +(i+1), "ThreadB"+ i +1);
			System.out.println("ThreadB" +(i+1));
		}
	}
	
}
